import Users from "../pages/users/users.js";
import AddUser from "../pages/users/add.js";
import UpdataUser from "../pages/users/updata.js";

export default {
    '/usersList': () => {
        new Users({ el: "#info-content" });
    },
    '/addUser': () => {
        new AddUser({ el: "#info-content" });
    },
    '/updataUser/:_id': {
        on: () => {
            new UpdataUser({ el: "#info-content" });
        }
    },
}